package com.cafuc.javaEE.service.impl;

import com.cafuc.javaEE.service.AService;
import com.cafuc.javaEE.service.BService;

public class BServiceImpl implements BService {
    @Override
    public void display() {
        System.out.println("==== display ====");
    }

    public static void main(String[] args) {
        BService bService = new BServiceImpl();
        AServiceImpl aService = new AServiceImpl();
        aService.setbService(bService);
    }
}
